package com.example.shouYeController.siYunShiPinTongJi;

import com.example.shouYePoji.siYunShiPinTongJi.CommodityOverview;
import com.example.shouYeService.siYunShiPinTongJi.shiXianLei.CommodityOverviewServce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class CommodityOverviewController {
    /**
     *@date 2022-11-13
     *@function 首页代办条数     课程待审核          商品待审核
     *@author  魏承
     */
    @Autowired
    private CommodityOverviewServce ll;
    //商品管理数据接口
    @RequestMapping("CommodityOverviewSuju")
    @ResponseBody
    public CommodityOverview klds(){
        return ll.getCommodityOverview();
    }
}
